package com.ynny.mapper;

import com.ynny.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    int insert(Student student);

    int updateBynumber(Student student);

    List<Student> selectByType(String type);

    int deleteByNumber(String number);

    int insertMany(@Param("students") List<Student> students);

    int deleteMany(@Param("ids") List<Integer> ids);

    List<Student> selectAll(Student student);
}
